#pragma once
#include "Sprites.h"
#include "QuadTree.h"
#include "MainCharacter.h"
#include "Information.h"
#include "Bonus.h"
#include "MoveObject.h"
#include "StaticObject.h"
#include <windows.h>
#include <d3d9.h>
#include <d3dx9.h>
#include <Time.h>
#include <io.h>
#include <fstream>
#include <string>
#include <vector>

using std::vector;
using namespace std;

class Game2DMap
{
public:
	RECT camera;
	int _widthOfMap, _heightOfMap;
	int _numberMap;
	QuadTree *_tree;
	int			_world;	
	MainCharacter *_mainCharacter;
	Game2DMap(int nummap);
	~Game2DMap();
	void LoadMap(char *path);
	void InitSightMap(int world);
	void Draw();
};